/**
 * MDetailForm 部件模型
 *
 * @export
 * @class MDetailFormModel
 */
export class MDetailFormModel {

    /**
    * 获取数据项集合
    *
    * @returns {any[]}
    * @memberof MDetailFormModel
    */
    public getDataItems(): any[] {
        return [
            // 工作流备注字段
            {
                name: 'srfwfmemo',
                prop: 'srfwfmemo',
                dataType: 'TEXT',
            },
            {
                name: 'srforikey',
            },
            {
                name: 'srfkey',
                prop: 'id',
                dataType: 'ACID',
            },
            {
                name: 'srfmajortext',
                prop: 'goods_name',
                dataType: 'TEXT',
            },
            {
                name: 'srftempmode',
            },
            {
                name: 'srfuf',
            },
            {
                name: 'srfdeid',
            },
            {
                name: 'srfsourcekey',
            },
            {
                name: 'shop_name',
                prop: 'shop_name',
                dataType: 'PICKUPTEXT',
            },
            {
                name: 'shop_id',
                prop: 'shop_id',
                dataType: 'PICKUP',
            },
            {
                name: 'goods_name',
                prop: 'goods_name',
                dataType: 'TEXT',
            },
            {
                name: 'cover_pic',
                prop: 'cover_pic',
                dataType: 'TEXT',
            },
            {
                name: 'price',
                prop: 'price',
                dataType: 'DECIMAL',
            },
            {
                name: 'unit',
                prop: 'unit',
                dataType: 'TEXT',
            },
            {
                name: 'allow_order',
                prop: 'allow_order',
                dataType: 'INT',
            },
            {
                name: 'is_recommend',
                prop: 'is_recommend',
                dataType: 'INT',
            },
            {
                name: 'sort_no',
                prop: 'sort_no',
                dataType: 'INT',
            },
            {
                name: 'goods_pic',
                prop: 'goods_pic',
                dataType: 'TEXT',
            },
            {
                name: 'goods_introduction',
                prop: 'goods_introduction',
                dataType: 'TEXT',
            },
            {
                name: 'goods_content',
                prop: 'goods_content',
                dataType: 'HTMLTEXT',
            },
            {
                name: 'status',
                prop: 'status',
                dataType: 'TEXT',
            },
            {
                name: 'goods_evaluate_score',
                prop: 'goods_evaluate_score',
                dataType: 'DECIMAL',
            },
            {
                name: 'goods_evaluate_num',
                prop: 'goods_evaluate_num',
                dataType: 'INT',
            },
            {
                name: 'id',
                prop: 'id',
                dataType: 'ACID',
            },
            {
                name: 'goods_info',
                prop: 'id',
                dataType: 'FONTKEY',
            },
        ];
    }

}
// 默认导出
export default MDetailFormModel;